package com.magicstone.common;

public class Answer<T> {
	private T value;
	private String message;
	private String detail;
	
	public Answer(){
	}
	
	public Answer(T value){
		this.value = value;		
	}
	
	public Answer(T value, String message, String detail){
		this.value = value;
		this.message = message;
		this.detail = detail;		
	}

	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}

	public T getValue() {
		return value;
	}

	public void setValue(T value) {
		this.value = value;
	}

}
